package com.px.chapter_Dec_1.textt;

import java.util.Calendar;

import java.util.InputMismatchException;
import java.util.List;
import java.util.Scanner;
import java.util.stream.Collectors;
import java.util.stream.Stream;

public class QDate {
    public static void main(String[] args) {
    Scanner scanner=new Scanner(System.in);
        try {
            double a=scanner.nextInt();
            double b=scanner.nextInt();
            a=a/b;
            if (String.valueOf(a).equals("Infinity"))
                throw new  ArithmeticException();
            System.out.println(a);
        } catch (InputMismatchException e) {
            System.out.println("输入不对");
        }catch (ArithmeticException e){
            System.out.println("cuowu ");
        }
    }
}


